home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / DiceSource / include / amiga20 / clib / layers_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-01-11  |  2.7 KB  |  68 lines

  1. #ifndef  CLIB_LAYERS_PROTOS_H
  2. #define  CLIB_LAYERS_PROTOS_H
  3. /*
  4. **    $Filename: clib/layers_protos.h $
  5. **    $Release: 2.04 $
  6. **    $Revision: 30.156 $
  7. **    $Date: 1995/01/11 05:18:10 $
  8. **
  9. **    C prototypes. For use with 32 bit integers only.
  10. **
  11. **    (C) Copyright 1990 Commodore-Amiga, Inc.
  12. **        All Rights Reserved
  13. */
  14. /* "layers.library" */
  15. #ifndef  EXEC_TYPES_H
  16. #include <exec/types.h>
  17. #endif
  18. #ifndef  GRAPHICS_LAYERS_H
  19. #include <graphics/layers.h>
  20. #endif
  21. #ifndef  GRAPHICS_CLIP_H
  22. #include <graphics/clip.h>
  23. #endif
  24. #ifndef  GRAPHICS_RASTPORT_H
  25. #include <graphics/rastport.h>
  26. #endif
  27. #ifndef  GRAPHICS_REGIONS_H
  28. #include <graphics/regions.h>
  29. #endif
  30. void InitLayers( struct Layer_Info *li );
  31. struct Layer *CreateUpfrontLayer( struct Layer_Info *li, struct BitMap *bm,
  32.     long x0, long y0, long x1, long y1, long flags, struct BitMap *bm2 );
  33. struct Layer *CreateBehindLayer( struct Layer_Info *li, struct BitMap *bm,
  34.     long x0, long y0, long x1, long y1, long flags, struct BitMap *bm2 );
  35. LONG UpfrontLayer( long dummy, struct Layer *layer );
  36. LONG BehindLayer( long dummy, struct Layer *layer );
  37. LONG MoveLayer( long dummy, struct Layer *layer, long dx, long dy );
  38. LONG SizeLayer( long dummy, struct Layer *layer, long dx, long dy );
  39. void ScrollLayer( long dummy, struct Layer *layer, long dx, long dy );
  40. LONG BeginUpdate( struct Layer *l );
  41. void EndUpdate( struct Layer *layer, unsigned long flag );
  42. LONG DeleteLayer( long dummy, struct Layer *layer );
  43. void LockLayer( long dummy, struct Layer *layer );
  44. void UnlockLayer( struct Layer *layer );
  45. void LockLayers( struct Layer_Info *li );
  46. void UnlockLayers( struct Layer_Info *li );
  47. void LockLayerInfo( struct Layer_Info *li );
  48. void SwapBitsRastPortClipRect( struct RastPort *rp, struct ClipRect *cr );
  49. struct Layer *WhichLayer( struct Layer_Info *li, long x, long y );
  50. void UnlockLayerInfo( struct Layer_Info *li );
  51. struct Layer_Info *NewLayerInfo( void );
  52. void DisposeLayerInfo( struct Layer_Info *li );
  53. LONG FattenLayerInfo( struct Layer_Info *li );
  54. void ThinLayerInfo( struct Layer_Info *li );
  55. LONG MoveLayerInFrontOf( struct Layer *layer_to_move,
  56.     struct Layer *other_layer );
  57. struct Region *InstallClipRegion( struct Layer *layer,
  58.     struct Region *region );
  59. LONG MoveSizeLayer( struct Layer *layer, long dx, long dy, long dw, long dh );
  60. struct Layer *CreateUpfrontHookLayer( struct Layer_Info *li, struct BitMap *bm,
  61.     long x0, long y0, long x1, long y1, long flags, struct Hook *hook,
  62.     struct BitMap *bm2 );
  63. struct Layer *CreateBehindHookLayer( struct Layer_Info *li, struct BitMap *bm,
  64.     long x0, long y0, long x1, long y1, long flags, struct Hook *hook,
  65.     struct BitMap *bm2 );
  66. struct Hook *InstallLayerHook( struct Layer *layer, struct Hook *hook );
  67. #endif     /* CLIB_LAYERS_PROTOS_H */
  68.